VMX/Viridian: suppress MSR-based APIC suggestion when having APIC-V
authorJan Beulich <jbeulich@suse.com>
Tue, 25 Jun 2013 13:57:44 +0000 (15:57 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 25 Jun 2013 13:57:44 +0000 (15:57 +0200)
commit7f2e992b824ec62a2818e64390ac2ccfbd74e6b7
treebf3c525ba824282cd00ae49e78e168407ea10504
parent28d386fc4341683af86f6c3fde544e1651715ffd
VMX/Viridian: suppress MSR-based APIC suggestion when having APIC-V

When the CPU has the necessary capabilities, having Windows use
synthetic MSR reads/writes is bogus, as this still requires emulation
(which is pretty much guaranteed to be slower than having the hardware
carry out the operation).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Paul Durrant <paul.durrant@citrix.com>
Acked-by: George Dunlap <george.dunlap@eu.citrix.com>
xen/arch/x86/hvm/viridian.c